<?phpclass FaqCategoryEntityBase extends EntityBase{	public $id;	public $name;	public $description;		public $parentId;	public $status;	public $createdDate;	public $modifiedDate;		const INACTIVE = 0;	const ACTIVE = 1;	public function __construct($arrValue = null, $prefix = '')
	{
		if(!is_null($arrValue) && is_array($arrValue))
		{			$this->id = (int) ($arrValue[$prefix . 'id']);			$this->name = strval ($arrValue[$prefix . 'name']);			$this->description = strval ($arrValue[$prefix . 'description']);			$this->picture = strval ($arrValue[$prefix . 'picture']);			$this->parentId = (int) ($arrValue[$prefix . 'parentId']);			$this->status = (int) ($arrValue[$prefix . 'status']);			$this->createdDate = strval ($arrValue[$prefix . 'createdDate']);			$this->modifiedDate = strval ($arrValue[$prefix . 'modifiedDate']);					}
	}	/**	 * Get status name of galleryCategory	 *	 * @access public	 *	 * @return string name of status	 *	 */	public function getStatusName()	{		if (is_null($this->status)){			return '';		}		if ($this->status == self::INACTIVE){			return 'Inactive';		}else if($this->status == self::ACTIVE){			return 'Active';		}		// Return empty string		return '';	}	/**	 * Get list of galleryCategory status	 *	 * @access public	 *	 * @return array of galleryCategory status	 *	 */	public static function getStatusList()	{		return array(self::INACTIVE	=> 'INACTIVE',
    				self::ACTIVE 	=>'ACTIVE');	}		/**	 * Get all fields for selecting columns	 *	 * @param string $alias: alias of table	 * @param string $prefix	 * @return string	 */	public static function getSelectColumns($alias, $prefix = '')	{		$arrValue = array(						"{$alias}.id AS `{$prefix}id`",						"{$alias}.name AS `{$prefix}name`",						"{$alias}.description AS `{$prefix}description`",						"{$alias}.picture AS `{$prefix}picture`",							"{$alias}.parentId AS `{$prefix}parentId`",						"{$alias}.status AS `{$prefix}status`",						"{$alias}.createdDate AS `{$prefix}createdDate`",						"{$alias}.modifiedDate AS `{$prefix}modifiedDate`"												);		return implode(',', $arrValue);	}}